<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>伪类样式</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        a:link {
            color: aqua;
        }

        a:visited {
            color:#252525;
        }
        a:hover {
            color: tomato;
            font-size: 23px;
        }
        a:active {
            color: coral;
        }
        .bord{
            border: 1px dashed #ee2602;
            width: 90%;
            margin: 20px auto;
        }
        .title{
            font-size: 20px;
            font-weight: bold;
            margin: 20px;
        }
        .introduce{
            font-size: 16px;
            margin: 0 0 20px 50px;
        }
        .red{
            color: red;
        }
    </style>
</head>
<body>
<div class="bord">
    <div class="title">伪类样式</div>
    <div class="introduce">
        a:link未访问状态<br/>
        a:visit已访问状态<br/>
        a:hover鼠标悬停状态<br/>
        a:active激活<br/>
    </div>
</div>
<div class="bord">
    <div class="title">演示效果</div>
    <div class="introduce">
        <a href = '../html/introduce.html' target = 'center'>HTML</a></div>
</div>
<div class="bord">
    <div class="title">代码</div>
    <div class="introduce">
        <pre>
             a:link未访问状态:
                                a:link {
                                            color: aqua;
                                         }
            a:visit已访问状态:
                                a:visited {
                                            color:#252525;
                                         }
            a:hover鼠标悬停状态:
                                a:hover {
                                            color: tomato;
                                            font-size: 23px;
                                         }
            a:active激活:
                                a:active {
                                            color: coral;
                                            }
        </pre>
    </div>
</div>
</body>
</html>